package com.education.platform.api.pay.alipay;


import com.education.platform.api.vo.request.PayRecordUpdateVO;


import javax.servlet.http.HttpServletRequest;

import java.util.Map;


/**
 * 支付宝支付
 */
public interface AliPayService {

    /**
     * 获取支付宝回调参数
     * @param request
     * @return
     */
    Map<String, String> getParamFormRequest(HttpServletRequest request);

    /**
     * 创建支付
     * @param request
     * @return
     */
    String payRequest(PayRecordUpdateVO request);
}
